package com.fofia.iotweb.web.dbdomain.models.admin;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 岗位信息表
 * @TableName sys_postion
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
@Table("sys_position")
public class SysPosition implements Serializable {
    /**
     * 岗位ID
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private static final long serialVersionUID = 1L;

    /**
     * 部门id
     *
     * @mbg.generated 2021-02-25 15:38:49
     */
    @Id(value = "id",keyType = KeyType.Auto)
    private Long id;

    /**
     * 岗位编码
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private String postCode;

    /**
     * 岗位名称
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private String postName;

    /**
     * 显示顺序
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private Integer postSort=0;

    /**
     * 状态（0正常 1停用）
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private Integer postStatus=0;

    /**
     * 创建者
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private String createBy;

    /**
     * 创建时间
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private Date createTime;

    /**
     * 更新者
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private String updateBy;

    /**
     * 更新时间
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private Date updateTime;

    /**
     * 备注
     *
     * @mbg.generated 2021-02-25 13:51:44
     */
    private String remark;


}